import Vue from 'vue'
import VueRouter from 'vue-router'
import Msite from '../pages/Msite/MSite.vue'
import Order from '../pages/Order/Order.vue'
import ProFile from '../pages/ProFile/ProFile.vue'
import Search from '../pages/Search/Search.vue'
import Login from '../pages/Login/Login.vue'

Vue.use(VueRouter)

const router=new VueRouter({
    routes: [{
        component:Msite,path:"/msite"
    },{
        component:Order,path:"/order"
    },{
        component:ProFile,path:"/profile"
    },{
        component:Search,path:"/search"
    },{
        component:Login,path:"/login"
    }]
})
export default router